using System;
using Symbonix.NorSoNet.Framework.BLL.Configuration;
using Symbonix.NorSoNet.Framework.BLL.Setup;
namespace Symbonix.NorSoNet.Framework.BLL {
	
	public class SingleInstanceFrameworkFactory : IFrameworkFactory  {
        
        #region IFrameworkFactory Members

        protected SingleInstanceFrameworkFactory() { }

        protected internal static IFrameworkFactory GetInstance() { return new SingleInstanceFrameworkFactory(); }

        public ISettings GetSettings()
        {
            return SingleInstanceSettings.GetInstance().Load();
        }

        public IInstaller GetInstaller()
        {
            return SingleInstanaceInstaller.GetInstance();
        }

        public IEmailTemplate GetEmailTemplate()
        {
            return EmailTemplate.GetInstance();
        }

        #endregion
    }

}
